home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / program / rcs5ap1b.lzh / RCSCLEAN.1LP < prev    next >
Text File  |  1991-01-30  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. RCSCLEAN(1)            Programmer's Manual            RCSCLEAN(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      rcsclean - clean up working files
  10.  
  11. SYNOPSIS
  12.      rcsclean [_✓r_✓c_✓s_✓d_✓i_✓f_✓f _✓o_✓p_✓t_✓i_✓o_✓n_✓s] [_✓f_✓i_✓l_✓e ... ]
  13.  
  14. DESCRIPTION
  15.      rcsclean removes working files that were checked out and
  16.      never modified.  For each file given, rcsclean compares the
  17.      working file and a revision in the corresponding RCS file.
  18.      If it finds no difference, it removes the working file, and,
  19.      if the revision was locked, unlocks the revision.
  20.  
  21.      If no _✓f_✓i_✓l_✓e is given, all working files in the current direc-
  22.      tory are cleaned.  Any other options are passed along to
  23.      rcsdiff for the comparison.
  24.  
  25.      rcsclean is useful for clean targets in Makefiles.  See also
  26.      rcsdiff(1), which prints out the differences, and ci(1),
  27.      which normally asks whether to check in a file if it was not
  28.      changed.
  29.  
  30. EXAMPLES
  31.           rcsclean  *.c  *.h
  32.  
  33.      removes all working files ending in .c or .h that were not
  34.      changed since their checkout.
  35.           rcsclean
  36.  
  37.      removes all working files in the current directory that were
  38.      not changed since their checkout.
  39.  
  40. DIAGNOSTICS
  41.      The exit status is 0 if there were no differences in any
  42.      file under RCS control, 1 if there were differences, and 2
  43.      if there were errors.
  44.  
  45. IDENTIFICATION
  46.      Author: Walter F. Tichy.
  47.      Revision Number: 1.4; Release Date: 1990/11/02.
  48.      Copyright c 1982, 1988, 1989 by Walter F. Tichy.
  49.      Copyright c 1990 by Paul Eggert.
  50.  
  51. SEE ALSO
  52.      ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1),
  53.      rcsmerge(1), rlog(1), rcsfile(5)
  54.      Walter F. Tichy, RCS--A System for Version Control,
  55.      _✓S_✓o_✓f_✓t_✓w_✓a_✓r_✓e--_✓P_✓r_✓a_✓c_✓t_✓i_✓c_✓e & _✓E_✓x_✓p_✓e_✓r_✓i_✓e_✓n_✓c_✓e 15, 7 (July 1985), 637-654.
  56.  
  57. BUGS
  58.      RCS file names may not be given as arguments.
  59.  
  60.  
  61.  
  62.  
  63. Printed 1/29/91            1990/11/02                           1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RCSCLEAN(1)            Programmer's Manual            RCSCLEAN(1)
  71.  
  72.  
  73.  
  74.      Any diagnostics generated by rcsdiff when comparing files
  75.      are discarded.
  76.  
  77.      If the latest revision is already unlocked, and you have a
  78.      lock on an earlier revision, the earlier revision is
  79.      unlocked.
  80.  
  81.      rcsclean is just an optional example shell script, and
  82.      should not be taken too seriously.
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Printed 1/29/91            1990/11/02                           2
  130.  
  131.  
  132.  
  133.